<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        
        // function a() {
        //     return [1,2,3];
        // }
        // console.log( a()[2] );


        // function a() {
        //     return {
        //         5: [4,7,9]
        //     };
        // }
        // console.log( a()[5][2] );



        function a() {
            return function() {
                alert(5);
            };
        }
        console.log(a());
        a()();
        
    </script>
</body>
</html>